<!doctype html>
<!--
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<html>
<head>

  <title>core-icons</title>
  <script src="../platform/platform.js"></script>
  <!-- load default set -->
  <link rel="import" href="core-icons.html">
  <!-- load the rest -->
  <link rel="import" href="iconsets/av-icons.html">
  <link rel="import" href="iconsets/communication-icons.html">
  <link rel="import" href="iconsets/device-icons.html">
  <link rel="import" href="iconsets/hardware-icons.html">
  <link rel="import" href="iconsets/image-icons.html">
  <link rel="import" href="iconsets/maps-icons.html">
  <link rel="import" href="iconsets/notification-icons.html">
  <link rel="import" href="iconsets/social-icons.html">
  <style>
    body {
      font-family: 'Helvetica Neue', Helvetica, Arial;
    }

    h2 {
      text-transform: capitalize;
    }

    core-icon {
      transition: all 0.2s;
      -webkit-transition: all 0.2s;
    }

    core-icon:hover {
      fill: #fb8c00;
    }

    .set {
      padding: 1em 0;
      border-bottom: 1px solid silver;
    }

    .set:nth-of-type(4n-3) {
      fill: #656565;
    }

    .set:nth-of-type(4n-2) {
      fill: #FDD835;
    }

    .set:nth-of-type(4n-1) {
      fill: #0D904F;
    }

    .set:nth-of-type(4n) {
      fill: #3B78E7;
    }

    .container {
      min-width: 10em;
      padding: 1em;
    }
  </style>
</head>
<body unresolved>

  <template is="auto-binding">
    <template repeat="{{iconset in $.meta.metaArray}}">
      <h2>{{iconset.id}}</h2>
      <h5>{{iconset.id === 'icons' ? 'The Default Set' : 'Import ' + iconset.id + '-icons.html'}}</h5>
      <div class="set" horizontal wrap justified layout>
        <template repeat="{{ icon in iconset.iconNames }}">
          <span class="container" vertical center layout>
            <core-icon icon="{{ iconset.id }}:{{ icon }}"></core-icon>
            <div>{{ icon }}</div>
          </span>
        </template>
      </div>
    </template>
    <core-iconset id="meta"></core-iconset>
  </template>

</body>
</html>
